]> dgit.raspbian.org Git - gnome-shell.git/commit
jsParse: Unnest functions
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 20 Aug 2019 00:24:28 +0000 (02:24 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 11 Nov 2019 19:25:14 +0000 (19:25 +0000)
commitbef50431356c75813d4c9738aa464543990dd67c
tree89802be40a48673df03ffc2109fdbe652e68afac
parentfea5ecc9e8f4a2c70f1fc518696164b920fd4bcb
jsParse: Unnest functions

Nesting functions can be helpful for private helper functions, but
here they are accessing some variables from the outer scope and
shadowing others. Split them out to avoid any ambiguity.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/805
js/misc/jsParse.js